<template>
  <div class="applyOf login">
    <div class="flex justify_between align_center">
      <div
        class="underline"
        style="width:120px;"
      >
        <span
          class="title1 color1 zIndex fontBold"
        >温馨提示</span>
      </div>
      <div
        class="customer flex justify_center align_center"
        @click="show = true"
      >
        <svg
          class="icon"
          aria-hidden="true"
        >
          <use xlink:href="#icon-lianxiwomen" />
        </svg>
        <span class="font400 content3">联系我们</span>
      </div>
    </div>
    <div
      class="login_content"
    >
      <div
        class="applyOf_tisp flex justify_center align_center flex_column"
      >
        <img
          src="@/assets/img/lh.png"
        >
        <p class="color1 fontBold content7">
          本账号无权限登录平台
        </p>
        <p class="font400 content3 color3">
          可联系工作人员
        </p>
      </div>
      <div class="ewm flex justify_between align_center">
        <div class="ewm_box flex justify_between align_center">
          <div class="ewm_left">
            <img src="/src/assets/img/logo.png">
            <p class="font400 content3 color3">
              长按关注深圳房协公众号
              了解我们的最新动态
            </p>
          </div>
          <div class="ewm_right">
            <img src="/src/assets/img/ewm.png">
          </div>
        </div>
      </div>
      <van-dialog
        v-model:show="show"
        title="温馨提示"
        confirm-button-color="#FF7A1F"
      >
        <div class="Scan">
          <p class="font400 content3 color3">
            您可长按添加工作人员微信 与我们取得联系
          </p>
          <img src="@/assets/img/no-content-color.png">
        </div>
      </van-dialog>
      <p class="understand content3 font400 color3">
        了解深圳房地产协会 >
      </p>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const show: any = ref(false)

</script>

<style lang="less" scoped>
.applyOf {
  padding: 0 30px 80px;
  margin-top: 40px;
  .customer {
    width: 93px;
    height: 32px;
    border: 1px solid #ff7a1f;
    border-radius: 5px;
    width: 111px;
    line-height: 32px;
    text-align: center;
    .icon {
      width: 22px;
      height: 22px;
    }
    span {
      margin-left: 4px;
      color: #ff7a1f;
    }
  }
  .login_content {
    margin-top: 20px;
    .understand {
      margin-top: 30px;
      text-align: center;
      text-decoration: underline;
    }
    .applyOf_tisp {
      width: 100%;
      height: 286px;
      background: #ffffff;
      border-radius: 5px;
      text-align: center;
      img {
        width: 170px;
        height: 150px;
        object-fit: contain;
        margin: 0 auto 20px;
      }
      p:last-child {
        margin-top: 10px;
      }
    }
    .ewm {
      width: 100%;
      height: 114px;
      background: #ffffff;
      border-radius: 5px;
      margin-top: 16px;
      .ewm_box {
        width: 100%;
        padding: 0 15px;
        .ewm_left {
          img {
            width: 100px;
            height: 30px;
            object-fit: contain;
          }
          p {
            width: 180px;
            margin-top: 14px;
            line-height: 18px;
          }
        }
        .ewm_right {
          width: 74px;
          height: 74px;
          img {
            width: 74px;
            height: 74px;
            object-fit: contain;
          }
        }
      }
    }
  }
  .leftw {
    width: 90px;
    display: inline-block;
  }
  .line {
    margin: 0 30px;
  }
  .setBnt {
    width: 98px;
    height: 30px;
    background: #12142e;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
  }
  .Scan {
    p {
      width: 190px;
      margin: 18px auto;
      text-align: center;
      line-height: 20px;
    }
    img {
      width: 95px;
      height: 95px;
      object-fit: contain;
      margin: 0 auto;
    }
  }
  .Membership {
    width: 100%;
    background: #ffffff;
    border-radius: 5px;
    .MembershipBox {
      padding: 15px;
    }
    .MembershipContent {
      margin-top:30px;
      margin-bottom: 30px;
      p {
        line-height: 20px;
      }
      p:last-child {
        margin-top: 20px;
      }
    }
    .MembershipInfo {
      margin-bottom: 20px;
      p {
        margin-bottom: 5px;
        span:last-child {
          margin-left: 5px;
        }
      }
    }
    .copy {
      width: 82px;
      height: 30px;
      background: #12142e;
      border-radius: 5px;
      text-align: center;
      line-height: 30px;
    }
  }
}

@media (min-width: 750px) {
.applyOf {
  padding: 0 30px 80px;
  margin-top: 40px;
  .customer {
    width: 93px;
    height: 32px;
    border: 1px solid #ff7a1f;
    border-radius: 5px;
    width: 111px;
    line-height: 32px;
    text-align: center;
    .icon {
      width: 22px;
      height: 22px;
    }
    span {
      margin-left: 4px;
      color: #ff7a1f;
    }
  }
  .login_content {
    margin-top: 20px;
    .understand {
      margin-top: 30px;
      text-align: center;
      text-decoration: underline;
    }
    .applyOf_tisp {
      width: 100%;
      height: 286px;
      background: #ffffff;
      border-radius: 5px;
      text-align: center;
      img {
        width: 170px;
        height: 150px;
        object-fit: contain;
        margin: 0 auto 20px;
      }
      p:last-child {
        margin-top: 10px;
      }
    }
    .ewm {
      width: 100%;
      height: 114px;
      background: #ffffff;
      border-radius: 5px;
      margin-top: 16px;
      .ewm_box {
        width: 100%;
        padding: 0 15px;
        .ewm_left {
          img {
            width: 100px;
            height: 30px;
            object-fit: contain;
          }
          p {
            width: 180px;
            margin-top: 14px;
            line-height: 18px;
          }
        }
        .ewm_right {
          width: 74px;
          height: 74px;
          img {
            width: 74px;
            height: 74px;
            object-fit: contain;
          }
        }
      }
    }
  }
  .leftw {
    width: 90px;
    display: inline-block;
  }
  .line {
    margin: 0 30px;
  }
  .setBnt {
    width: 98px;
    height: 30px;
    background: #12142e;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
  }
  .Scan {
    p {
      width: 190px;
      margin: 18px auto;
      text-align: center;
      line-height: 20px;
    }
    img {
      width: 95px;
      height: 95px;
      object-fit: contain;
      margin: 0 auto;
    }
  }
  .Membership {
    width: 100%;
    background: #ffffff;
    border-radius: 5px;
    .MembershipBox {
      padding: 15px;
    }
    .MembershipContent {
      margin-top:30px;
      margin-bottom: 30px;
      p {
        line-height: 20px;
      }
      p:last-child {
        margin-top: 20px;
      }
    }
    .MembershipInfo {
      margin-bottom: 20px;
      p {
        margin-bottom: 5px;
        span:last-child {
          margin-left: 5px;
        }
      }
    }
    .copy {
      width: 82px;
      height: 30px;
      background: #12142e;
      border-radius: 5px;
      text-align: center;
      line-height: 30px;
    }
  }
}
}
</style>
